{% extends "forms/form_base.html" %}
{% load fieldsets %}

{% comment %}
<!--
Django blocks: form_id, form_url, jquery_form_selector, form_div
are located in the base_form.html template file, and
are used for the AJAX post/response form functionality.
-->
{% endcomment %}

{% block form_id %}address_form{% endblock %}
{% block form_url %}{% url address_form %}{% endblock %}
{% block jquery_form_selector %}#address_form{% endblock %}
{% block form_div %}#address{% endblock %}

{% block content %}
  {% get_fieldset flat_number,house_name,street_number,street,district,city,state_or_province,postal_code,country as primary_fields from form %}
  {% get_fieldset phone,notes,in_parish as secondary_fields from form %}
  {% include "forms/form_two_tables.html" %}
{% endblock %}